ShortPixel\Controller\QuotaController S

Total Complexity 48
Dependencies 5
Dependents 14
Total lines 329
Lines of code 227
Logical lines of code 121
Comment lines 20
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
getRemoteQuota()
D
26
31 134
getQuotaData()
S
55 4 21
getQuota()
S
50 2 28
getInstance()
S
73 2 5
hasQuota()
S
68 2 8
resetQuotaExceeded()
S
65 2 10
__construct()
S
91 1 2
getAvailableQuota()
S
76 1 4
forceCheckRemoteQuota()
S
71 1 6
remoteValidateKey()
S
76 1 4
setQuotaExceeded()
S
73 1 5